<?php
namespace Foam\Model;

class Allergene
{
    public $id_allergene;
    public $libelle;
    
    public function exchangeArray($data)
    {
        $this->id_allergene = (isset($data['id_allergene'])) ? $data['id_allergene'] : null;
        $this->libelle = (isset($data['libelle'])) ? $data['libelle'] : null;
    }
}